]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ufs: kill lock_ufs()
authorAl Viro <viro@zeniv.linux.org.uk>
Tue, 16 Jun 2015 08:27:05 +0000 (04:27 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Mon, 6 Jul 2015 21:39:26 +0000 (17:39 -0400)
commitdff7cfd36e305488421d82a0ed3dd0209c333745
tree178f51048347e8cbc36a870769350bfac7349090
parent724bb09fdc06d4ff03757b25d6dba9ef1b133e8f
ufs: kill lock_ufs()

There were 3 remaining users; in two of them we took ->s_lock immediately
after lock_ufs() and held it until just before unlock_ufs(); the third
one (statfs) could not be called from itself or from other two (remount
and sync_fs).  Just use ->s_lock in statfs and don't bother with lock_ufs
at all.

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