[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>
This commit is contained in:
Alexey Dobriyan 2005-10-30 15:03:11 -08:00 committed by Linus Torvalds
parent c0398ee6c2
commit b3099b48da

View file

@ -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);