]> Pileus Git - ~andy/linux/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)
commit56aa72d0fcc9c4a3af4d0111d8d7f336b63adff9
tree729effa6312cfedadff2caea8ca98ecd91028f2e
parent0688a5ecea61a36ba12d17a18ab9f8712145cfa2
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