From: Alexey Dobriyan Date: Sun, 30 Oct 2005 23:03:11 +0000 (-0800) Subject: [PATCH] fs/attr.c: remove BUG() X-Git-Tag: v2.6.15-rc1~59^2~15^2~48 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b3099b48da23686d8378133b0264ee00385ee5fa;p=linux-2.6 [PATCH] fs/attr.c: remove BUG() Signed-off-by: Alexey Dobriyan Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/fs/attr.c b/fs/attr.c index b1796fb9e5..67bcd9b14e 100644 --- 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);