VFS: make vfs_fstat() use f[get|put]_light()
authorLinus Torvalds <torvalds@linux-foundation.org>
Sat, 28 Apr 2012 21:55:17 +0000 (14:55 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 7 Jun 2014 23:02:04 +0000 (16:02 -0700)
commit9b67aeff9256ad337e22b0f3b228b7ec01ff2a20
tree3c22c75218d6f61bd4107262aebf44cdc7435abb
parent4652951d1202cef2798b1a0dfbf4122794594b41
VFS: make vfs_fstat() use f[get|put]_light()

commit e994defb7b6813ba6fa7a2a36e86d2455ad1dc35 upstream.

Use the *_light() versions that properly avoid doing the file user count
updates when they are unnecessary.

Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
[xr: Backported to 3.4: adjust function name]
Signed-off-by: Rui Xiang <rui.xiang@huawei.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/stat.c