]> Git Repo - linux.git/blobdiff - fs/ext4/mmp.c
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
[linux.git] / fs / ext4 / mmp.c
index 77cdce1f17ceeb7d2c309b7eea53321973269d61..27b9a76a0dfabeff3ee9ec65a15d8d5e711d851a 100644 (file)
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 #include <linux/fs.h>
 #include <linux/random.h>
 #include <linux/buffer_head.h>
@@ -185,7 +186,7 @@ static int kmmpd(void *data)
                        goto exit_thread;
                }
 
-               if (sb->s_flags & MS_RDONLY) {
+               if (sb_rdonly(sb)) {
                        ext4_warning(sb, "kmmpd being stopped since filesystem "
                                     "has been remounted as readonly.");
                        goto exit_thread;
This page took 0.027981 seconds and 4 git commands to generate.