reiserfs: remove IS_PRIVATE helpers
There are a number of helper functions for marking a reiserfs inode private that were leftover from reiserfs did its own thing wrt to private inodes. S_PRIVATE has been in the kernel for some time, so this patch removes the helpers and uses IS_PRIVATE instead. Signed-off-by: Jeff Mahoney <jeffm@suse.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:

committed by
Linus Torvalds

parent
010f5a21a3
commit
6dfede6963
@@ -358,9 +358,10 @@ static struct dentry *reiserfs_lookup(struct inode *dir, struct dentry *dentry,
|
||||
return ERR_PTR(-EACCES);
|
||||
}
|
||||
|
||||
/* Propogate the priv_object flag so we know we're in the priv tree */
|
||||
if (is_reiserfs_priv_object(dir))
|
||||
reiserfs_mark_inode_private(inode);
|
||||
/* Propagate the private flag so we know we're
|
||||
* in the priv tree */
|
||||
if (IS_PRIVATE(dir))
|
||||
inode->i_flags |= S_PRIVATE;
|
||||
}
|
||||
reiserfs_write_unlock(dir->i_sb);
|
||||
if (retval == IO_ERROR) {
|
||||
|
Reference in New Issue
Block a user