提交 b3099b48 编写于 作者: A Alexey Dobriyan 提交者: Linus Torvalds

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

Signed-off-by: NAlexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: NAndrew Morton <akpm@osdl.org>
Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册