summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexey Dobriyan <adobriyan@gmail.com>2005-10-31 00:03:11 +0100
committerLinus Torvalds <torvalds@g5.osdl.org>2005-10-31 02:37:27 +0100
commitb3099b48da23686d8378133b0264ee00385ee5fa (patch)
tree742a90c526929037fe9ef7b2221b856078241b82
parent[PATCH] include/linux/kernel.h:BUILD_BUG_ON(): fix a comment (diff)
downloadlinux-b3099b48da23686d8378133b0264ee00385ee5fa.tar.xz
linux-b3099b48da23686d8378133b0264ee00385ee5fa.zip
[PATCH] fs/attr.c: remove BUG()
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-rw-r--r--fs/attr.c3
1 files changed, 0 insertions, 3 deletions
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);