commit | 89ceb5e703adcf66f388ff91b13b884fd4911837 | [log] [tgz] |
---|---|---|
author | Oleg Nesterov <oleg@redhat.com> | Mon Jan 13 16:48:40 2014 +0100 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Mon Jan 13 18:44:03 2014 -0500 |
tree | 90cf92a341174c341834933f1d594ff70cbcd6d8 | |
parent | 9e57221eb2e1ba5020d89ea772d25bed35858928 [diff] |
fs: factor out common code in fget_light() and fget_raw_light() Apart from FMODE_PATH check fget_light() and fget_raw_light() are identical, shift the code into the new helper, __fget_light(fd, mask). Saves 208 bytes. Signed-off-by: Oleg Nesterov <oleg@redhat.com> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>