Commit b3099b48 authored by Alexey Dobriyan's avatar Alexey Dobriyan Committed by Linus Torvalds

[PATCH] fs/attr.c: remove BUG()

Signed-off-by: default avatarAlexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent c0398ee6
...@@ -117,9 +117,6 @@ int notify_change(struct dentry * dentry, struct iattr * attr) ...@@ -117,9 +117,6 @@ int notify_change(struct dentry * dentry, struct iattr * attr)
struct timespec now; struct timespec now;
unsigned int ia_valid = attr->ia_valid; unsigned int ia_valid = attr->ia_valid;
if (!inode)
BUG();
mode = inode->i_mode; mode = inode->i_mode;
now = current_fs_time(inode->i_sb); now = current_fs_time(inode->i_sb);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment