summaryrefslogtreecommitdiffstats
path: root/fs/reiserfs/ioctl.c
diff options
context:
space:
mode:
authorJan Kara <jack@suse.cz>2017-04-11 16:51:34 +0200
committerJan Kara <jack@suse.cz>2017-04-19 14:21:23 +0200
commita480b5bebdeac6831f44f598616197fb1d37f987 (patch)
treecaf3bf519238df2ca0ea158cca972dba03456dab /fs/reiserfs/ioctl.c
parentreiserfs: Remove useless setting of i_flags (diff)
downloadlinux-a480b5bebdeac6831f44f598616197fb1d37f987.tar.xz
linux-a480b5bebdeac6831f44f598616197fb1d37f987.zip
reiserfs: Remove i_attrs_to_sd_attrs()
Now that all places setting inode->i_flags that should be reflected in on-disk flags are gone, we can remove i_attrs_to_sd_attrs() call. Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'fs/reiserfs/ioctl.c')
-rw-r--r--fs/reiserfs/ioctl.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/reiserfs/ioctl.c b/fs/reiserfs/ioctl.c
index 1f4692a505a0..acbbaf7a0bb2 100644
--- a/fs/reiserfs/ioctl.c
+++ b/fs/reiserfs/ioctl.c
@@ -47,7 +47,6 @@ long reiserfs_ioctl(struct file *filp, unsigned int cmd, unsigned long arg)
}
flags = REISERFS_I(inode)->i_attrs;
- i_attrs_to_sd_attrs(inode, (__u16 *) & flags);
err = put_user(flags, (int __user *)arg);
break;
case REISERFS_IOC_SETFLAGS:{