summaryrefslogtreecommitdiffstats
path: root/fs/ext4/dir.c
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2010-06-14 09:54:48 -0400
committerTheodore Ts'o <tytso@mit.edu>2010-06-14 09:54:48 -0400
commit07a038245b28df9196ffb2e8cc626e9b956a4e23 (patch)
tree33faae4d5785d5cdd83381f0feff5798845feafc /fs/ext4/dir.c
parenta0375156ca1041574b5d47cc7e32f10b891151b0 (diff)
downloadlinux-stable-07a038245b28df9196ffb2e8cc626e9b956a4e23.tar.gz
linux-stable-07a038245b28df9196ffb2e8cc626e9b956a4e23.tar.bz2
linux-stable-07a038245b28df9196ffb2e8cc626e9b956a4e23.zip
ext4: Convert more i_flags references to use accessor functions
These changes are not ones which are likely to result in races, but they should be fixed. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'fs/ext4/dir.c')
-rw-r--r--fs/ext4/dir.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/ext4/dir.c b/fs/ext4/dir.c
index ea5e6cb7e2a5..2965c39d4183 100644
--- a/fs/ext4/dir.c
+++ b/fs/ext4/dir.c
@@ -121,7 +121,8 @@ static int ext4_readdir(struct file *filp,
* We don't set the inode dirty flag since it's not
* critical that it get flushed back to the disk.
*/
- ext4_clear_inode_flag(filp->f_path.dentry->d_inode, EXT4_INODE_INDEX);
+ ext4_clear_inode_flag(filp->f_path.dentry->d_inode,
+ EXT4_INODE_INDEX);
}
stored = 0;
offset = filp->f_pos & (sb->s_blocksize - 1);