login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2010
»
November
»
23
Re: [PATCH] nfs: Don't generate duplicated events
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
[view in full thread]
From: Eric Paris
Subject:
Re: [PATCH] nfs: Don't generate duplicated events
Date: Tuesday, November 23, 2010 - 12:55 pm
On Mon, 2010-11-15 at 19:33 +0000, Alexey Zaytsev wrote:
quoted text
> The events are already generated by vfs_readv and vfs_writev. > splice does not seem to generate the events, but that's an > other bug. > > The patch also removes a couple of unneeded fsnotify.h > inclusions from fs/cachefiles/. > > Signed-off-by: Alexey Zaytsev <alexey.zaytsev@gmail.com>
applied. thanks.
quoted text
> --- > fs/cachefiles/namei.c | 1 - > fs/cachefiles/xattr.c | 1 - > fs/nfsd/vfs.c | 3 --- > 3 files changed, 0 insertions(+), 5 deletions(-) > > diff --git a/fs/cachefiles/namei.c b/fs/cachefiles/namei.c > index 42c7faf..e33b9a0 100644 > --- a/fs/cachefiles/namei.c > +++ b/fs/cachefiles/namei.c > @@ -13,7 +13,6 @@ > #include <linux/sched.h> > #include <linux/file.h> > #include <linux/fs.h> > -#include <linux/fsnotify.h> > #include <linux/quotaops.h> > #include <linux/xattr.h> > #include <linux/mount.h> > diff --git a/fs/cachefiles/xattr.c b/fs/cachefiles/xattr.c > index e18b183..6e05068 100644 > --- a/fs/cachefiles/xattr.c > +++ b/fs/cachefiles/xattr.c > @@ -13,7 +13,6 @@ > #include <linux/sched.h> > #include <linux/file.h> > #include <linux/fs.h> > -#include <linux/fsnotify.h> > #include <linux/quotaops.h> > #include <linux/xattr.h> > #include <linux/slab.h> > diff --git a/fs/nfsd/vfs.c b/fs/nfsd/vfs.c > index 184938f..5f30270 100644 > --- a/fs/nfsd/vfs.c > +++ b/fs/nfsd/vfs.c > @@ -20,7 +20,6 @@ > #include <linux/fcntl.h> > #include <linux/namei.h> > #include <linux/delay.h> > -#include <linux/fsnotify.h> > #include <linux/posix_acl_xattr.h> > #include <linux/xattr.h> > #include <linux/jhash.h> > @@ -924,7 +923,6 @@ nfsd_vfs_read(struct svc_rqst *rqstp, struct svc_fh *fhp, struct file *file, > nfsdstats.io_read += host_err; > *count = host_err; > err = 0; > - fsnotify_access(file); > } else > err = nfserrno(host_err); > out: > @@ -1035,7 +1033,6 @@ nfsd_vfs_write(struct svc_rqst *rqstp, struct svc_fh *fhp, struct file *file, > goto out_nfserr; > *cnt = host_err; > nfsdstats.io_write += host_err; > - fsnotify_modify(file); > > /* clear setuid/setgid flag after write */ > if (inode->i_mode & (S_ISUID | S_ISGID)) >
--
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
Messages in current thread:
[PATCH] nfs: Don't generate duplicated events
, Alexey Zaytsev
, (Mon Nov 15, 12:33 pm)
Re: [PATCH] nfs: Don't generate duplicated events
, Eric Paris
, (Tue Nov 23, 12:55 pm)
Navigation
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Ken Chen
[patch] sched: fix inconsistency when redistribute per-cpu tg->cfs_rq shares.
Hugh Dickins
Re: Linux 2.6.26-rc1 - pgtable_32.c:178 pmd_bad
Bernhard Beck
[PATCH 001/001] usb-serial: Add ThinkOptics WavIT
Oleg Nesterov
Re: [PATCH 4/5] don't panic if /sbin/init exits or killed
Greg KH
[patch 07/21] rtc-pcf8563: detect polarity of century bit automatically
git
:
Jonathan del Strother
Re: [PATCH] Fixing path quoting issues
Gerrit Pape
[PATCH] fix skipping merge-order test with NO_OPENSSL=1.
Linus Torvalds
Re: Implementing branch attributes in git config
Johannes Schindelin
Re: Trying to use git-filter-branch to compress history by removing large, obsolet...
Gerrit Pape
[PATCH] hooks--update: fix test for properly set up project description file
linux-netdev
:
David Miller
Re: [PATCH 04/15] tg3: Preserve LAA when device control is released
Jean-Louis Dupond
Re: tg3 driver not advertising 1000mbit
Sven Wegener
[PATCH] ipvs: Add missing locking during connection table hashing and unhashing
David Miller
Re: [PATCH] qlcnic: dont assume NET_IP_ALIGN is 2
Stephen Hemminger
[PATCH 2/2] sky2: fix transmit state on resume
git-commits-head
:
Linux Kernel Mailing List
[SCSI] scsi ioctl: fix kernel-doc warning
Linux Kernel Mailing List
ALSA: HDA - Correct trivial typos in comments.
Linux Kernel Mailing List
i2c-viapro: Add support for SMBus Process Call transactions
Linux Kernel Mailing List
i2c: Documentation: upgrading clients HOWTO
Linux Kernel Mailing List
[PATCH] fix sysctl_nr_open bugs
openbsd-misc
:
Die Gestalt
Re: How to re-build openssl with SHA1 support?
Edwin Eyan Moragas
Re: managing routes for multiple PPPoE connections
Brian Candler
Re: OBSD's perspective on SELinux
Jonathan Schleifer
Why is getaddrinfo breaking POSIX?
Predrag Punosevac
Re: Kernel developers guide/tutorial
Colocation donated by:
Syndicate