Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit dff7cfd3 authored by Al Viro's avatar Al Viro
Browse files

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: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 724bb09f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment