]> git.baikalelectronics.ru Git - kernel.git/commit
get rid of fget_light()
authorAl Viro <viro@zeniv.linux.org.uk>
Tue, 4 Mar 2014 19:54:22 +0000 (14:54 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Mon, 10 Mar 2014 15:44:42 +0000 (11:44 -0400)
commit2755c6bc3b1f600f8b8947702a86da2e5e6b1d82
treed08be6aea75b2f41bebf516bfc33187d0673bfce
parent1b69a166b450c6614b37b0292d6367b76c79ee95
get rid of fget_light()

instead of returning the flags by reference, we can just have the
low-level primitive return those in lower bits of unsigned long,
with struct file * derived from the rest.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/file.c
fs/read_write.c
include/linux/file.h
include/linux/fs.h