]> Git Repo - linux.git/commitdiff
[PATCH] fs/attr.c: remove BUG()
authorAlexey Dobriyan <[email protected]>
Sun, 30 Oct 2005 23:03:11 +0000 (15:03 -0800)
committerLinus Torvalds <[email protected]>
Mon, 31 Oct 2005 01:37:27 +0000 (17:37 -0800)
Signed-off-by: Alexey Dobriyan <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
fs/attr.c

index b1796fb9e524031614a44f26e3ac44d5e1e48c53..67bcd9b14ea58046efa53cef41db47d96f36f9b2 100644 (file)
--- a/fs/attr.c
+++ b/fs/attr.c
@@ -117,9 +117,6 @@ int notify_change(struct dentry * dentry, struct iattr * attr)
        struct timespec now;
        unsigned int ia_valid = attr->ia_valid;
 
-       if (!inode)
-               BUG();
-
        mode = inode->i_mode;
        now = current_fs_time(inode->i_sb);
 
This page took 0.050674 seconds and 4 git commands to generate.