Commit bc82b3fb 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 eac3e0f8
...@@ -186,6 +186,8 @@ int notify_change(struct dentry * dentry, struct iattr * attr) ...@@ -186,6 +186,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