Commit 2bee2f6d authored by Andrew Morton's avatar Andrew Morton Committed by james toy

mm-only debug patch...

Cc: Michael Halcrow <mhalcrow@us.ibm.com>
Cc: Miklos Szeredi <miklos@szeredi.hu>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
parent 48b9223c
...@@ -155,6 +155,8 @@ int notify_change(struct dentry * dentry, struct iattr * attr) ...@@ -155,6 +155,8 @@ int notify_change(struct dentry * dentry, struct iattr * attr)
return -EPERM; return -EPERM;
} }
WARN_ON_ONCE(!mutex_is_locked(&inode->i_mutex));
now = current_fs_time(inode->i_sb); now = current_fs_time(inode->i_sb);
attr->ia_ctime = now; attr->ia_ctime = now;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment