diff options
author | Yegor Yefremov <yegorslists@googlemail.com> | 2016-01-27 12:53:04 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2016-02-01 09:16:13 +0100 |
commit | 00dd9030552dd6708af675a7c3f4292090716bfa (patch) | |
tree | 8568a7360ec9a025c3bfc29a926b128d55528fba /fs/ubifs/super.c | |
parent | 3c0e5afc5ad478fe6911ccf2d24a6a7021fef3da (diff) | |
download | barebox-00dd9030552dd6708af675a7c3f4292090716bfa.tar.gz barebox-00dd9030552dd6708af675a7c3f4292090716bfa.tar.xz |
fs: use linux/fs.h for file system related definitions
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'fs/ubifs/super.c')
-rw-r--r-- | fs/ubifs/super.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/ubifs/super.c b/fs/ubifs/super.c index 075b2585d4..b45240d623 100644 --- a/fs/ubifs/super.c +++ b/fs/ubifs/super.c @@ -88,7 +88,7 @@ struct inode *iget_locked(struct super_block *sb, unsigned long ino) inode->i_ino = ino; inode->i_sb = sb; list_add(&inode->i_sb_list, &sb->s_inodes); - inode->i_state = I_LOCK | I_NEW; + inode->i_state = I_SYNC | I_NEW; } return inode; @@ -225,7 +225,7 @@ struct inode *ubifs_iget(struct super_block *sb, unsigned long inum) } kfree(ino); - inode->i_state &= ~(I_LOCK | I_NEW); + inode->i_state &= ~(I_SYNC | I_NEW); return inode; out_invalid: |