diff options
Diffstat (limited to 'fs/ext2/ioctl.c')
-rw-r--r-- | fs/ext2/ioctl.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/fs/ext2/ioctl.c b/fs/ext2/ioctl.c index 0b456820a..6528f1f74 100644 --- a/fs/ext2/ioctl.c +++ b/fs/ext2/ioctl.c @@ -53,9 +53,9 @@ int ext2_ioctl (struct inode * inode, struct file * filp, unsigned int cmd, inode->u.ext2_i.i_flags = flags; if (flags & EXT2_SYNC_FL) - inode->i_flags |= MS_SYNCHRONOUS; + inode->i_flags |= S_SYNC; else - inode->i_flags &= ~MS_SYNCHRONOUS; + inode->i_flags &= ~S_SYNC; if (flags & EXT2_APPEND_FL) inode->i_flags |= S_APPEND; else @@ -65,9 +65,9 @@ int ext2_ioctl (struct inode * inode, struct file * filp, unsigned int cmd, else inode->i_flags &= ~S_IMMUTABLE; if (flags & EXT2_NOATIME_FL) - inode->i_flags |= MS_NOATIME; + inode->i_flags |= S_NOATIME; else - inode->i_flags &= ~MS_NOATIME; + inode->i_flags &= ~S_NOATIME; inode->i_ctime = CURRENT_TIME; mark_inode_dirty(inode); return 0; |