]> 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)
commit0f1f43e74cb310d67cb03da608e108a1facaedda
tree4ccfd06bc5705bc2903667043e4f9fdadb568d1b
parentefbf70bdc50227113ccb41235432a46e75ba0a98
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