super: make locking naming consistent
[linux-block.git] / fs / fs-writeback.c
index aca4b48113945a9ba556b4efb56461867e233232..969ce991b0b03f6b49f3b92cdcfc4ca515a8f315 100644 (file)
@@ -1953,9 +1953,9 @@ static long __writeback_inodes_wb(struct bdi_writeback *wb,
                struct inode *inode = wb_inode(wb->b_io.prev);
                struct super_block *sb = inode->i_sb;
 
-               if (!trylock_super(sb)) {
+               if (!super_trylock_shared(sb)) {
                        /*
-                        * trylock_super() may fail consistently due to
+                        * super_trylock_shared() may fail consistently due to
                         * s_umount being grabbed by someone else. Don't use
                         * requeue_io() to avoid busy retrying the inode/sb.
                         */