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://openfabrics.org/gitweb/?a=commitdiff_plain;h=b3099b48da23686d8378133b0264ee00385ee5fa;p=~shefty%2Frdma-dev.git [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 b1796fb9e52..67bcd9b14ea 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);