Linux Headquarters
[ Register ]
[ About us ] [ Home Page ]

Advertisement
[ Kernel ] [ Documentation ] [ Links ] [ Books ]

Advertisement

Kernel v2.3.49 /fs/attr.c

Filename:/fs/attr.c
Lines Added:1
Lines Deleted:2
Also changed in: (Previous) 2.3.48  2.3.47  2.3.45  2.2.11-ac3  2.2.11-ac1  2.2.11-ac2 
(Following) 2.3.99-pre7  2.5.50  2.5.50bk1  2.5.50-ac1  2.5.51  2.5.65-bk4 

Location
[  2.3.49
  [  fs
     o  attr.c

Patch

diff -u --recursive --new-file v2.3.48/linux/fs/attr.c linux/fs/attr.c
--- v2.3.48/linux/fs/attr.c   Sat Feb 26 22:31:51 2000
+++ linux/fs/attr.c   Thu Mar  2 11:35:12 2000
@@ -91,8 +91,7 @@
    if (!(ia_valid & ATTR_MTIME_SET))
       attr->ia_mtime = now;
 
-   if (inode->i_sb && inode->i_sb->s_op &&
-       inode->i_op->setattr) 
+   if (inode && inode->i_op && inode->i_op->setattr) 
       error = inode->i_op->setattr(dentry, attr);
    else {
       error = inode_change_ok(inode, attr);


Comments: webmaster (at) linuxhq.com.
Advertising: banners (at) linuxhq.com.
Compilation ©1998-2008 Linux Headquarters, Inc.