fs/attr.c: remove BUG()
diff mbox series

Message ID 20051023180303.GA13144@mipter.zuzino.mipt.ru
State New, archived
Headers show
Series
  • fs/attr.c: remove BUG()
Related show

Commit Message

Alexey Dobriyan Oct. 23, 2005, 6:03 p.m. UTC
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
---

 fs/attr.c |    3 ---
 1 file changed, 3 deletions(-)


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Patch
diff mbox series

--- a/fs/attr.c
+++ b/fs/attr.c
@@ -117,9 +117,6 @@  int notify_change(struct dentry * dentry
 	struct timespec now;
 	unsigned int ia_valid = attr->ia_valid;
 
-	if (!inode)
-		BUG();
-
 	mode = inode->i_mode;
 	now = current_fs_time(inode->i_sb);