diff options
author | Jeff Mahoney <jeffm@suse.com> | 2009-03-30 14:02:32 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-03-30 15:16:37 -0400 |
commit | 6dfede696391133eadd7ce90b61c9573ee6e5a90 (patch) | |
tree | 2051bfc5108d0e7592b8738e43f4ae972d398ccd /fs/reiserfs/inode.c | |
parent | 010f5a21a323e7383e067009a7785462883fe5ea (diff) |
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>
Diffstat (limited to 'fs/reiserfs/inode.c')
-rw-r--r-- | fs/reiserfs/inode.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/fs/reiserfs/inode.c b/fs/reiserfs/inode.c index fab0373ad6e3..cd42a8658086 100644 --- a/fs/reiserfs/inode.c +++ b/fs/reiserfs/inode.c | |||
@@ -1927,9 +1927,8 @@ int reiserfs_new_inode(struct reiserfs_transaction_handle *th, | |||
1927 | reiserfs_warning(inode->i_sb, "jdm-13090", | 1927 | reiserfs_warning(inode->i_sb, "jdm-13090", |
1928 | "ACLs aren't enabled in the fs, " | 1928 | "ACLs aren't enabled in the fs, " |
1929 | "but vfs thinks they are!"); | 1929 | "but vfs thinks they are!"); |
1930 | } else if (is_reiserfs_priv_object(dir)) { | 1930 | } else if (IS_PRIVATE(dir)) |
1931 | reiserfs_mark_inode_private(inode); | 1931 | inode->i_flags |= S_PRIVATE; |
1932 | } | ||
1933 | 1932 | ||
1934 | reiserfs_update_sd(th, inode); | 1933 | reiserfs_update_sd(th, inode); |
1935 | reiserfs_check_path(&path_to_key); | 1934 | reiserfs_check_path(&path_to_key); |