summaryrefslogtreecommitdiffstats
path: root/kernel/relay.c
diff options
context:
space:
mode:
authorScott Wolchok <swolchok@umich.edu>2012-12-20 15:05:52 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2012-12-20 17:40:21 -0800
commita68c2f12b4b28994aaf622bbe5724b7258cc2fcf (patch)
treec78116c77b068c3b57aa3bdddd40c2ecdd0d5a9f /kernel/relay.c
parent891348ca0f66206f1dc0e30d63757e3df1ae2d15 (diff)
downloadlinux-a68c2f12b4b28994aaf622bbe5724b7258cc2fcf.tar.gz
linux-a68c2f12b4b28994aaf622bbe5724b7258cc2fcf.tar.bz2
linux-a68c2f12b4b28994aaf622bbe5724b7258cc2fcf.zip
sendfile: allows bypassing of notifier events
do_sendfile() in fs/read_write.c does not call the fsnotify functions, unlike its neighbors. This manifests as a lack of inotify ACCESS events when a file is sent using sendfile(2). Addresses https://bugzilla.kernel.org/show_bug.cgi?id=12812 [akpm@linux-foundation.org: use fsnotify_modify(out.file), not fsnotify_access(), per Dave] Signed-off-by: Alan Cox <alan@linux.intel.com> Cc: Dave Chinner <david@fromorbit.com> Cc: Jens Axboe <axboe@kernel.dk> Cc: Scott Wolchok <swolchok@umich.edu> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel/relay.c')
0 files changed, 0 insertions, 0 deletions