From: Alexey Dobriyan Date: Sun, 30 Oct 2005 23:03:11 +0000 (-0800) Subject: [PATCH] fs/attr.c: remove BUG() X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=b3099b48da23686d8378133b0264ee00385ee5fa;p=openwrt%2Fstaging%2Fblogic.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 b1796fb9e524..67bcd9b14ea5 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);