]> git.baikalelectronics.ru Git - kernel.git/commit
vfs: replace calling i_op->readlink with vfs_readlink()
authorMiklos Szeredi <mszeredi@redhat.com>
Fri, 9 Dec 2016 15:45:04 +0000 (16:45 +0100)
committerMiklos Szeredi <mszeredi@redhat.com>
Fri, 9 Dec 2016 15:45:04 +0000 (16:45 +0100)
commit7682cffeaef252872f5862a05c91348d5a72c10e
tree4ccfd06bc5705bc2903667043e4f9fdadb568d1b
parentbc16f99b2ee9be25359efc26d5e1d828192cdf84
vfs: replace calling i_op->readlink with vfs_readlink()

Also check d_is_symlink() in callers instead of inode->i_op->readlink
because following patches will allow NULL ->readlink for symlinks.

Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
fs/namei.c
fs/nfsd/nfs4xdr.c
fs/nfsd/vfs.c
fs/stat.c
fs/xfs/xfs_ioctl.c
include/linux/fs.h