aboutsummaryrefslogtreecommitdiffstats
path: root/fs/gfs2/ops_fstype.c
diff options
context:
space:
mode:
authorBob Peterson <rpeterso@redhat.com>2018-04-06 13:07:45 -0700
committerBob Peterson <rpeterso@redhat.com>2018-04-12 10:07:51 -0700
commit3e7aafc39c59c639ebd5961f893743f076df9b4e (patch)
treec8d79c8ae01e09510e22f18b56757f1b8df507e5 /fs/gfs2/ops_fstype.c
parentgfs2: Stop using rhashtable_walk_peek (diff)
downloadlinux-dev-3e7aafc39c59c639ebd5961f893743f076df9b4e.tar.xz
linux-dev-3e7aafc39c59c639ebd5961f893743f076df9b4e.zip
GFS2: Minor improvements to comments and documentation
This patch simply fixes some comments and the gfs2-glocks.txt file: Places where i_rwsem was called i_mutex, and adding i_rw_mutex. Signed-off-by: Bob Peterson <rpeterso@redhat.com>
Diffstat (limited to '')
-rw-r--r--fs/gfs2/ops_fstype.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/gfs2/ops_fstype.c b/fs/gfs2/ops_fstype.c
index e6a0a8a89ea7..3ba3f167641c 100644
--- a/fs/gfs2/ops_fstype.c
+++ b/fs/gfs2/ops_fstype.c
@@ -825,7 +825,7 @@ static int init_inodes(struct gfs2_sbd *sdp, int undo)
goto fail_rindex;
}
/*
- * i_mutex on quota files is special. Since this inode is hidden system
+ * i_rwsem on quota files is special. Since this inode is hidden system
* file, we are safe to define locking ourselves.
*/
lockdep_set_class(&sdp->sd_quota_inode->i_rwsem,