projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c0398ee
)
[PATCH] fs/attr.c: remove BUG()
author
Alexey Dobriyan
<adobriyan@gmail.com>
Sun, 30 Oct 2005 23:03:11 +0000
(15:03 -0800)
committer
Linus Torvalds
<torvalds@g5.osdl.org>
Mon, 31 Oct 2005 01:37:27 +0000
(17:37 -0800)
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/attr.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/attr.c
b/fs/attr.c
index b1796fb9e524031614a44f26e3ac44d5e1e48c53..67bcd9b14ea58046efa53cef41db47d96f36f9b2 100644
(file)
--- a/
fs/attr.c
+++ b/
fs/attr.c
@@
-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);