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)
committerBen Hutchings <ben@decadent.org.uk>
Wed, 19 Sep 2012 14:05:25 +0000 (15:05 +0100)
commit7c6430b9b762972e99ff841a4c78d6cc02be8e51
tree106dbaa71dd14e03c810cfec7c3f11cbfba39ea9
parent62ae7bbdbb77a210eb839f34dc0d1923a4842dbd
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>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
fs/stat.c