summaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorYunlong Song <yunlong.song@huawei.com>2018-04-02 20:22:20 +0800
committerJaegeuk Kim <jaegeuk@kernel.org>2018-04-02 20:09:35 -0700
commitc79d152094d228080e9895a92feb44ba9d60c798 (patch)
tree2d9c861bc6f23ade94c26886f8ed17da7d4d0214 /fs
parentdc7a10ddee0c56c6d891dd18de5c4ee9869545e0 (diff)
f2fs: make assignment of t->dentry_bitmap more readable
In make_dentry_ptr_block, it is confused with "&" for t->dentry_bitmap but without "&" for t->dentry, so delete "&" to make code more readable. Signed-off-by: Yunlong Song <yunlong.song@huawei.com> Reviewed-by: Chao Yu <yuchao0@huawei.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs')
-rw-r--r--fs/f2fs/f2fs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/f2fs/f2fs.h b/fs/f2fs/f2fs.h
index 000f93f6767e..7102d3965fea 100644
--- a/fs/f2fs/f2fs.h
+++ b/fs/f2fs/f2fs.h
@@ -472,7 +472,7 @@ static inline void make_dentry_ptr_block(struct inode *inode,
d->inode = inode;
d->max = NR_DENTRY_IN_BLOCK;
d->nr_bitmap = SIZE_OF_DENTRY_BITMAP;
- d->bitmap = &t->dentry_bitmap;
+ d->bitmap = t->dentry_bitmap;
d->dentry = t->dentry;
d->filename = t->filename;
}