diff options
Diffstat (limited to 'fs/ext4/ext4.h')
-rw-r--r-- | fs/ext4/ext4.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/fs/ext4/ext4.h b/fs/ext4/ext4.h index 19a4de57128a..8b56b53328eb 100644 --- a/fs/ext4/ext4.h +++ b/fs/ext4/ext4.h | |||
@@ -1860,6 +1860,12 @@ static inline void ext4_unlock_group(struct super_block *sb, | |||
1860 | spin_unlock(ext4_group_lock_ptr(sb, group)); | 1860 | spin_unlock(ext4_group_lock_ptr(sb, group)); |
1861 | } | 1861 | } |
1862 | 1862 | ||
1863 | static inline void ext4_mark_super_dirty(struct super_block *sb) | ||
1864 | { | ||
1865 | if (EXT4_SB(sb)->s_journal == NULL) | ||
1866 | sb->s_dirt =1; | ||
1867 | } | ||
1868 | |||
1863 | /* | 1869 | /* |
1864 | * Inodes and files operations | 1870 | * Inodes and files operations |
1865 | */ | 1871 | */ |