From: Oleg Nesterov Date: Mon, 13 Jan 2014 15:48:40 +0000 (+0100) Subject: fs: factor out common code in fget_light() and fget_raw_light() X-Git-Tag: v3.14-rc1~78^2~27 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ad46183445043b562856c60b74db664668fb364b;p=pandora-kernel.git 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 Signed-off-by: Al Viro --- Reading git-diff-tree failed