kernel_optimize_test/fs
Al Viro 680baacbca new ->follow_link() and ->put_link() calling conventions
a) instead of storing the symlink body (via nd_set_link()) and returning
an opaque pointer later passed to ->put_link(), ->follow_link() _stores_
that opaque pointer (into void * passed by address by caller) and returns
the symlink body.  Returning ERR_PTR() on error, NULL on jump (procfs magic
symlinks) and pointer to symlink body for normal symlinks.  Stored pointer
is ignored in all cases except the last one.

Storing NULL for opaque pointer (or not storing it at all) means no call
of ->put_link().

b) the body used to be passed to ->put_link() implicitly (via nameidata).
Now only the opaque pointer is.  In the cases when we used the symlink body
to free stuff, ->follow_link() now should store it as opaque pointer in addition
to returning it.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2015-05-10 22:19:45 -04:00
..
9p new ->follow_link() and ->put_link() calling conventions 2015-05-10 22:19:45 -04:00
adfs
affs
afs
autofs4 new ->follow_link() and ->put_link() calling conventions 2015-05-10 22:19:45 -04:00
befs new ->follow_link() and ->put_link() calling conventions 2015-05-10 22:19:45 -04:00
bfs
btrfs
cachefiles
ceph ceph: switch to simple_follow_link() 2015-05-10 22:18:28 -04:00
cifs new ->follow_link() and ->put_link() calling conventions 2015-05-10 22:19:45 -04:00
coda
configfs new ->follow_link() and ->put_link() calling conventions 2015-05-10 22:19:45 -04:00
cramfs
debugfs debugfs: switch to simple_follow_link() 2015-05-10 22:18:24 -04:00
devpts
dlm
ecryptfs new ->follow_link() and ->put_link() calling conventions 2015-05-10 22:19:45 -04:00
efivarfs
efs
exofs exofs: switch to {simple,page}_symlink_inode_operations 2015-05-10 22:18:27 -04:00
exportfs
ext2 ext2: use simple_follow_link() 2015-05-10 22:18:21 -04:00
ext3 ext3: switch to simple_follow_link() 2015-05-10 22:18:22 -04:00
ext4 new ->follow_link() and ->put_link() calling conventions 2015-05-10 22:19:45 -04:00
f2fs new ->follow_link() and ->put_link() calling conventions 2015-05-10 22:19:45 -04:00
fat
freevxfs freevxfs: switch to simple_follow_link() 2015-05-10 22:18:27 -04:00
fscache
fuse new ->follow_link() and ->put_link() calling conventions 2015-05-10 22:19:45 -04:00
gfs2 new ->follow_link() and ->put_link() calling conventions 2015-05-10 22:19:45 -04:00
hfs
hfsplus
hostfs new ->follow_link() and ->put_link() calling conventions 2015-05-10 22:19:45 -04:00
hpfs
hppfs new ->follow_link() and ->put_link() calling conventions 2015-05-10 22:19:45 -04:00
hugetlbfs
isofs
jbd
jbd2
jffs2 jffs2: switch to simple_follow_link() 2015-05-10 22:18:23 -04:00
jfs jfs: switch to simple_follow_link() 2015-05-10 22:18:26 -04:00
kernfs new ->follow_link() and ->put_link() calling conventions 2015-05-10 22:19:45 -04:00
lockd
logfs logfs: fix a pagecache leak for symlinks 2015-05-10 22:18:28 -04:00
minix
ncpfs
nfs new ->follow_link() and ->put_link() calling conventions 2015-05-10 22:19:45 -04:00
nfs_common
nfsd
nilfs2
nls
notify
ntfs
ocfs2
omfs
openpromfs
overlayfs new ->follow_link() and ->put_link() calling conventions 2015-05-10 22:19:45 -04:00
proc new ->follow_link() and ->put_link() calling conventions 2015-05-10 22:19:45 -04:00
pstore
qnx4
qnx6
quota
ramfs
reiserfs
romfs
squashfs
sysfs
sysv sysv: switch to simple_follow_link() 2015-05-10 22:18:26 -04:00
tracefs
ubifs ubifs: switch to simple_follow_link() 2015-05-10 22:18:25 -04:00
udf
ufs ufs: switch to simple_follow_link() 2015-05-10 22:18:25 -04:00
xfs new ->follow_link() and ->put_link() calling conventions 2015-05-10 22:19:45 -04:00
aio.c
anon_inodes.c
attr.c
bad_inode.c
binfmt_aout.c
binfmt_elf_fdpic.c
binfmt_elf.c
binfmt_em86.c
binfmt_flat.c
binfmt_misc.c
binfmt_script.c
block_dev.c
buffer.c
char_dev.c
compat_binfmt_elf.c
compat_ioctl.c
compat.c
coredump.c
dax.c
dcache.c
dcookies.c
direct-io.c
drop_caches.c
eventfd.c
eventpoll.c
exec.c
fcntl.c
fhandle.c
file_table.c
file.c
filesystems.c
fs_pin.c
fs_struct.c
fs-writeback.c
inode.c libfs: simple_follow_link() 2015-05-10 22:18:20 -04:00
internal.h
ioctl.c
Kconfig
Kconfig.binfmt
libfs.c new ->follow_link() and ->put_link() calling conventions 2015-05-10 22:19:45 -04:00
locks.c
Makefile
mbcache.c
mount.h
mpage.c
namei.c new ->follow_link() and ->put_link() calling conventions 2015-05-10 22:19:45 -04:00
namespace.c
no-block.c
nsfs.c
open.c
pipe.c
pnode.c
pnode.h
posix_acl.c
proc_namespace.c
read_write.c
readdir.c
select.c
seq_file.c
signalfd.c
splice.c
stack.c
stat.c
statfs.c
super.c
sync.c
timerfd.c
utimes.c
xattr.c