]> git.karo-electronics.de Git - linux-beck.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)
commitfd4a0edf2a3d781c6ae07d2810776ce22302ee1c
tree4ccfd06bc5705bc2903667043e4f9fdadb568d1b
parent2a07a1f5abba308729bd082dce4d035365165d85
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