summaryrefslogtreecommitdiffstats
path: root/fs/hfsplus/catalog.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@tuxera.com>2010-10-14 09:54:33 -0400
committerChristoph Hellwig <hch@lst.de>2010-10-14 09:54:33 -0400
commit722c55d13e7296cc62ed8a38f926a915ff32e4ea (patch)
tree445dc4c1a26f9a4203facb9e5f82508588c1abd8 /fs/hfsplus/catalog.c
parentf6089ff87d309a8ddb7b0d4dd92a570f1b0f689b (diff)
downloadtalos-op-linux-722c55d13e7296cc62ed8a38f926a915ff32e4ea.tar.gz
talos-op-linux-722c55d13e7296cc62ed8a38f926a915ff32e4ea.zip
hfsplus: remove superflous rootflags field in hfsplus_inode_info
The rootflags field in hfsplus_inode_info only caches the immutable and append-only flags in the VFS inode, so we can easily get rid of it. Signed-off-by: Christoph Hellwig <hch@tuxera.com>
Diffstat (limited to 'fs/hfsplus/catalog.c')
-rw-r--r--fs/hfsplus/catalog.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/hfsplus/catalog.c b/fs/hfsplus/catalog.c
index 9d1594b0a07a..bbcf5a27b5d3 100644
--- a/fs/hfsplus/catalog.c
+++ b/fs/hfsplus/catalog.c
@@ -77,7 +77,6 @@ static void hfsplus_set_perms(struct inode *inode, struct hfsplus_perm *perms)
perms->rootflags |= HFSPLUS_FLG_APPEND;
else
perms->rootflags &= ~HFSPLUS_FLG_APPEND;
- HFSPLUS_I(inode)->rootflags = perms->rootflags;
HFSPLUS_I(inode)->userflags = perms->userflags;
perms->mode = cpu_to_be16(inode->i_mode);
perms->owner = cpu_to_be32(inode->i_uid);
OpenPOWER on IntegriCloud