^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) // SPDX-License-Identifier: GPL-2.0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2) /*
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) * linux/fs/ext2/symlink.c
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) *
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) * Only fast symlinks left here - the rest is done by generic code. AV, 1999
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) *
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) * Copyright (C) 1992, 1993, 1994, 1995
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) * Remy Card (card@masi.ibp.fr)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) * Laboratoire MASI - Institut Blaise Pascal
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) * Universite Pierre et Marie Curie (Paris VI)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) *
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) * from
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) *
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) * linux/fs/minix/symlink.c
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) *
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) * Copyright (C) 1991, 1992 Linus Torvalds
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) *
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) * ext2 symlink handling code
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) #include "ext2.h"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) #include "xattr.h"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) const struct inode_operations ext2_symlink_inode_operations = {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) .get_link = page_get_link,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) .getattr = ext2_getattr,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) .setattr = ext2_setattr,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) .listxattr = ext2_listxattr,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) const struct inode_operations ext2_fast_symlink_inode_operations = {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) .get_link = simple_get_link,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) .getattr = ext2_getattr,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34) .setattr = ext2_setattr,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35) .listxattr = ext2_listxattr,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36) };