A possible fsnotify bug.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi.

Have not tested, but this code in fs/nfsd/vfs.c looks suspicious:
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=blob;f=fs/nfsd/vfs.c;h=184938fcff04d5dff712b8bee01f5d7e41bb20ad;hb=HEAD#l1032

1032         host_err = vfs_writev(file, (struct iovec __user *)vec,
vlen, &offset);
1033         set_fs(oldfs);
1034         if (host_err < 0)
1035                 goto out_nfserr;
1036         *cnt = host_err;
1037         nfsdstats.io_write += host_err;
1038         fsnotify_modify(file);

fsnotify_modify() is called from vfs_writev() -> do_readv_writev(),
and the users are probably getting duplicate events, right?
--
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]
  Powered by Linux