]> git.baikalelectronics.ru Git - kernel.git/commit
GFS2: Get rid of I_MUTEX_QUOTA usage
authorJan Kara <jack@suse.cz>
Wed, 5 Sep 2012 20:55:11 +0000 (16:55 -0400)
committerSteven Whitehouse <swhiteho@redhat.com>
Mon, 24 Sep 2012 09:47:24 +0000 (10:47 +0100)
commitbd78e03a85bf02b8744e3a2613bba9816ddc1baa
tree729effa6312cfedadff2caea8ca98ecd91028f2e
parent1160a52eb45558ab0c7be9fadcab97067be6b9c5
GFS2: Get rid of I_MUTEX_QUOTA usage

GFS2 uses i_mutex on its system quota inode to synchronize writes to
quota file. Since this is an internal inode to GFS2 (not part of directory
hiearchy or visible by user) we are safe to define locking rules for it. So
let's just get it its own locking class to make it clear.

Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
fs/gfs2/ops_fstype.c
fs/gfs2/quota.c