fs/ocfs2: fix comments mentioning i_mutex
[sfrench/cifs-2.6.git] / fs / ocfs2 / ocfs2.h
index bb62cc2e0211b3a1f036758d25c619f3ca1c497d..3375275714612663b759fd676270ab6067071b32 100644 (file)
@@ -355,7 +355,7 @@ struct ocfs2_super
        struct delayed_work             la_enable_wq;
 
        /*
-        * Must hold local alloc i_mutex and osb->osb_lock to change
+        * Must hold local alloc i_rwsem and osb->osb_lock to change
         * local_alloc_bits. Reads can be done under either lock.
         */
        unsigned int local_alloc_bits;
@@ -430,7 +430,7 @@ struct ocfs2_super
        atomic_t                        osb_tl_disable;
        /*
         * How many clusters in our truncate log.
-        * It must be protected by osb_tl_inode->i_mutex.
+        * It must be protected by osb_tl_inode->i_rwsem.
         */
        unsigned int truncated_clusters;