diff options
Diffstat (limited to 'fs/ext3/ioctl.c')
| -rw-r--r-- | fs/ext3/ioctl.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/ext3/ioctl.c b/fs/ext3/ioctl.c index b7394d05ee8e..5e86ce9a86e0 100644 --- a/fs/ext3/ioctl.c +++ b/fs/ext3/ioctl.c | |||
| @@ -53,8 +53,7 @@ int ext3_ioctl (struct inode * inode, struct file * filp, unsigned int cmd, | |||
| 53 | goto flags_out; | 53 | goto flags_out; |
| 54 | } | 54 | } |
| 55 | 55 | ||
| 56 | if (!S_ISDIR(inode->i_mode)) | 56 | flags = ext3_mask_flags(inode->i_mode, flags); |
| 57 | flags &= ~EXT3_DIRSYNC_FL; | ||
| 58 | 57 | ||
| 59 | mutex_lock(&inode->i_mutex); | 58 | mutex_lock(&inode->i_mutex); |
| 60 | /* Is it quota file? Do not allow user to mess with it */ | 59 | /* Is it quota file? Do not allow user to mess with it */ |
