From 800725c9fd1d211ab9e5290682e2f78fed635561 Mon Sep 17 00:00:00 2001 From: Alexey Dobriyan Date: Sun, 30 Oct 2005 15:03:11 -0800 Subject: [PATCH] --- yaml --- r: 11878 b: refs/heads/master c: b3099b48da23686d8378133b0264ee00385ee5fa h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/fs/attr.c | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/[refs] b/[refs] index c80d5ab4097d..647419109e52 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: c0398ee6c2fe3c1743ecc74a6378b67ba0880a4f +refs/heads/master: b3099b48da23686d8378133b0264ee00385ee5fa diff --git a/trunk/fs/attr.c b/trunk/fs/attr.c index b1796fb9e524..67bcd9b14ea5 100644 --- a/trunk/fs/attr.c +++ b/trunk/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);