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 */
-
To unsubscribe from this list: send the line "unsubscribe bk-commits-24" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to