projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
splice: fsnotify_access(in), fsnotify_modify(out) on success in tee
[linux-2.6-block.git]
/
fs
/
splice.c
diff --git
a/fs/splice.c
b/fs/splice.c
index 2cb89f5f9a8a03513a91719faad4dbfa3e6a1a9e..378fedb392ae3c20568595acd0f93197dd739972 100644
(file)
--- a/
fs/splice.c
+++ b/
fs/splice.c
@@
-1929,6
+1929,11
@@
long do_tee(struct file *in, struct file *out, size_t len, unsigned int flags)
}
}
+ if (ret > 0) {
+ fsnotify_access(in);
+ fsnotify_modify(out);
+ }
+
return ret;
}