diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2008-12-04 15:59:23 +0100 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2009-01-05 17:54:27 +0100 |
commit | 9742df331deb3fce95b321f38d4ea0c4e75edb63 (patch) | |
tree | f7b93edcf346a890ac2b6dda0112787a68481ea8 /fs/ntfs | |
parent | isofs check for NULL ->i_op in root directory is dead code (diff) | |
download | linux-9742df331deb3fce95b321f38d4ea0c4e75edb63.tar.xz linux-9742df331deb3fce95b321f38d4ea0c4e75edb63.zip |
ntfs: don't NULL i_op
it's already set to empty table (and no, ntfs doesn't have any explicit
checks for NULL ->i_op or NULL ->i_fop)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/ntfs')
-rw-r--r-- | fs/ntfs/inode.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/fs/ntfs/inode.c b/fs/ntfs/inode.c index e9da092e2772..86bef156cf0a 100644 --- a/fs/ntfs/inode.c +++ b/fs/ntfs/inode.c @@ -1406,9 +1406,6 @@ static int ntfs_read_locked_attr_inode(struct inode *base_vi, struct inode *vi) ni->allocated_size = sle64_to_cpu( a->data.non_resident.allocated_size); } - /* Setup the operations for this attribute inode. */ - vi->i_op = NULL; - vi->i_fop = NULL; if (NInoMstProtected(ni)) vi->i_mapping->a_ops = &ntfs_mst_aops; else |