diff options
author | Christoph Hellwig <hch@tuxera.com> | 2010-10-14 09:54:33 -0400 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2010-10-14 09:54:33 -0400 |
commit | 722c55d13e7296cc62ed8a38f926a915ff32e4ea (patch) | |
tree | 445dc4c1a26f9a4203facb9e5f82508588c1abd8 /fs/hfsplus/catalog.c | |
parent | f6089ff87d309a8ddb7b0d4dd92a570f1b0f689b (diff) | |
download | kernel_samsung_smdk4412-722c55d13e7296cc62ed8a38f926a915ff32e4ea.zip kernel_samsung_smdk4412-722c55d13e7296cc62ed8a38f926a915ff32e4ea.tar.gz kernel_samsung_smdk4412-722c55d13e7296cc62ed8a38f926a915ff32e4ea.tar.bz2 |
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.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/hfsplus/catalog.c b/fs/hfsplus/catalog.c index 9d1594b..bbcf5a2 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); |