diff options
Diffstat (limited to 'fs/btrfs/ioctl.c')
-rw-r--r-- | fs/btrfs/ioctl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/btrfs/ioctl.c b/fs/btrfs/ioctl.c index fd172a93d11a..d748ad1c3620 100644 --- a/fs/btrfs/ioctl.c +++ b/fs/btrfs/ioctl.c | |||
@@ -1172,7 +1172,7 @@ again: | |||
1172 | if (!i_done || ret) | 1172 | if (!i_done || ret) |
1173 | goto out; | 1173 | goto out; |
1174 | 1174 | ||
1175 | if (!(inode->i_sb->s_flags & MS_ACTIVE)) | 1175 | if (!(inode->i_sb->s_flags & SB_ACTIVE)) |
1176 | goto out; | 1176 | goto out; |
1177 | 1177 | ||
1178 | /* | 1178 | /* |
@@ -1333,7 +1333,7 @@ int btrfs_defrag_file(struct inode *inode, struct file *file, | |||
1333 | * make sure we stop running if someone unmounts | 1333 | * make sure we stop running if someone unmounts |
1334 | * the FS | 1334 | * the FS |
1335 | */ | 1335 | */ |
1336 | if (!(inode->i_sb->s_flags & MS_ACTIVE)) | 1336 | if (!(inode->i_sb->s_flags & SB_ACTIVE)) |
1337 | break; | 1337 | break; |
1338 | 1338 | ||
1339 | if (btrfs_defrag_cancelled(fs_info)) { | 1339 | if (btrfs_defrag_cancelled(fs_info)) { |