[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:
committed by
Linus Torvalds
parent
c0398ee6c2
commit
b3099b48da
@@ -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);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user