JFS: remove invalid NULL assignments to i_sb
Linux Kernel Mailing List <[email protected]> Sat, 11 Dec 2004 14:50:24 +0000
| Newsgroups | gmane.linux.kernel.commits.2-4 |
|---|---|
| Message-ID | <[email protected]> |
ChangeSet 1.1516.8.1, 2004/12/11 08:50:24-06:00, [email protected] JFS: remove invalid NULL assignments to i_sb Signed-off-by: Dave Kleikamp <[email protected]> jfs_imap.c | 2 -- 1 files changed, 2 deletions(-) diff -Nru a/fs/jfs/jfs_imap.c b/fs/jfs/jfs_imap.c --- a/fs/jfs/jfs_imap.c 2005-02-23 10:05:24 -08:00 +++ b/fs/jfs/jfs_imap.c 2005-02-23 10:05:24 -08:00 @@ -486,7 +486,6 @@ /* read the page of fixed disk inode (AIT) in raw mode */ mp = read_metapage(ip, address << sbi->l2nbperpage, PSIZE, 1); if (mp == NULL) { - ip->i_sb = NULL; ip->i_nlink = 1; /* Don't want iput() deleting it */ iput(ip); return (NULL); @@ -499,7 +498,6 @@ /* copy on-disk inode to in-memory inode */ if ((copy_from_dinode(dp, ip)) != 0) { /* handle bad return by returning NULL for ip */ - ip->i_sb = NULL; ip->i_nlink = 1; /* Don't want iput() deleting it */ iput(ip); /* release the page */