Skip to content

Commit

Permalink
[PATCH] fs/attr.c: remove BUG()
Browse files Browse the repository at this point in the history
Signed-off-by: Alexey Dobriyan <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
Alexey Dobriyan authored and Linus Torvalds committed Oct 31, 2005
1 parent c0398ee commit b3099b4
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions fs/attr.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit b3099b4

Please sign in to comment.