]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
vfs: default to generic_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)
commit76fca90e9f3abc82114d9d02d8e14e0324a18ca2
tree9dc26cb4603b4c93cd6b5b1bb7b538c30d19e438
parentfd4a0edf2a3d781c6ae07d2810776ce22302ee1c
vfs: default to generic_readlink()

If i_op->readlink is NULL, but i_op->get_link is set then vfs_readlink()
defaults to calling generic_readlink().

The IOP_DEFAULT_READLINK flag indicates that the above conditions are met
and the default action can be taken.

Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Documentation/filesystems/porting
Documentation/filesystems/vfs.txt
fs/namei.c
include/linux/fs.h