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/inode.c | |
parent | f6089ff87d309a8ddb7b0d4dd92a570f1b0f689b (diff) |
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/inode.c')
-rw-r--r-- | fs/hfsplus/inode.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/hfsplus/inode.c b/fs/hfsplus/inode.c index 746e0ee20717..df57ea1f3a71 100644 --- a/fs/hfsplus/inode.c +++ b/fs/hfsplus/inode.c | |||
@@ -241,7 +241,6 @@ static void hfsplus_get_perms(struct inode *inode, struct hfsplus_perm *perms, i | |||
241 | mode = S_IFREG | ((S_IRUGO|S_IWUGO) & ~(sbi->umask)); | 241 | mode = S_IFREG | ((S_IRUGO|S_IWUGO) & ~(sbi->umask)); |
242 | inode->i_mode = mode; | 242 | inode->i_mode = mode; |
243 | 243 | ||
244 | HFSPLUS_I(inode)->rootflags = perms->rootflags; | ||
245 | HFSPLUS_I(inode)->userflags = perms->userflags; | 244 | HFSPLUS_I(inode)->userflags = perms->userflags; |
246 | if (perms->rootflags & HFSPLUS_FLG_IMMUTABLE) | 245 | if (perms->rootflags & HFSPLUS_FLG_IMMUTABLE) |
247 | inode->i_flags |= S_IMMUTABLE; | 246 | inode->i_flags |= S_IMMUTABLE; |