diff options
| author | Tony Luck <tony.luck@intel.com> | 2005-07-13 15:15:43 -0400 |
|---|---|---|
| committer | Tony Luck <tony.luck@intel.com> | 2005-07-13 15:15:43 -0400 |
| commit | 99ad25a313bda566a346b46a6015afa65bc0a02b (patch) | |
| tree | b9443fed1ab74f320c4ee0791864ee96d7c069df /fs/compat.c | |
| parent | f62c4a96f74d6c6dd56d1742697e94a5c2085e87 (diff) | |
| parent | 9a556e89081b0c1c2f83cee915363b15a68a6f2d (diff) | |
Auto merge with /home/aegl/GIT/linus
Diffstat (limited to 'fs/compat.c')
| -rw-r--r-- | fs/compat.c | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/fs/compat.c b/fs/compat.c index 728cd8365384..6b06b6bae35e 100644 --- a/fs/compat.c +++ b/fs/compat.c | |||
| @@ -37,7 +37,7 @@ | |||
| 37 | #include <linux/ctype.h> | 37 | #include <linux/ctype.h> |
| 38 | #include <linux/module.h> | 38 | #include <linux/module.h> |
| 39 | #include <linux/dirent.h> | 39 | #include <linux/dirent.h> |
| 40 | #include <linux/dnotify.h> | 40 | #include <linux/fsnotify.h> |
| 41 | #include <linux/highuid.h> | 41 | #include <linux/highuid.h> |
| 42 | #include <linux/sunrpc/svc.h> | 42 | #include <linux/sunrpc/svc.h> |
| 43 | #include <linux/nfsd/nfsd.h> | 43 | #include <linux/nfsd/nfsd.h> |
| @@ -1307,9 +1307,13 @@ static ssize_t compat_do_readv_writev(int type, struct file *file, | |||
| 1307 | out: | 1307 | out: |
| 1308 | if (iov != iovstack) | 1308 | if (iov != iovstack) |
| 1309 | kfree(iov); | 1309 | kfree(iov); |
| 1310 | if ((ret + (type == READ)) > 0) | 1310 | if ((ret + (type == READ)) > 0) { |
| 1311 | dnotify_parent(file->f_dentry, | 1311 | struct dentry *dentry = file->f_dentry; |
| 1312 | (type == READ) ? DN_ACCESS : DN_MODIFY); | 1312 | if (type == READ) |
| 1313 | fsnotify_access(dentry); | ||
| 1314 | else | ||
| 1315 | fsnotify_modify(dentry); | ||
| 1316 | } | ||
| 1313 | return ret; | 1317 | return ret; |
| 1314 | } | 1318 | } |
| 1315 | 1319 | ||
