]> git.karo-electronics.de Git - karo-tx-linux.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>
Thu, 6 Sep 2012 14:00:25 +0000 (15:00 +0100)
commit8944fe06927eaa00d3b9c27de079c58e2bd50481
treecc6f74b3cc42f17d6509bba4c04d496c3cf4d537
parent667314bfaead8bbf7957ec5e613fbb86fd840d91
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