android_kernel_samsung_msm8976/fs/9p
Aneesh Kumar K.V 03f0e02273 fs/9p: Don't use O_TRUNC flag in TOPEN and TLOPEN request
We do the truncate via setattr request, hence don't pass the O_TRUNC flag in
open request. Without this patch we end up sending zero sized write request
to server when we try to truncate. Some servers (VirtFS) were not handling that
properly.

Reported-by: M. Mohan Kumar <mohan@in.ibm.com>
Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: Eric Van Hensbergen <ericvh@gmail.com>
2013-02-10 16:29:47 -06:00
..
acl.c
acl.h
cache.c
cache.h
fid.c
fid.h
Kconfig
Makefile
v9fs.c The following changes since commit 4cbe5a555f: 2012-10-12 09:59:23 +09:00
v9fs.h
v9fs_vfs.h
vfs_addr.c
vfs_dentry.c
vfs_dir.c locking in fs/9p ->readdir() 2013-02-10 16:29:33 -06:00
vfs_file.c fs/9p: Don't use O_TRUNC flag in TOPEN and TLOPEN request 2013-02-10 16:29:47 -06:00
vfs_inode.c fs/9p: Don't use O_TRUNC flag in TOPEN and TLOPEN request 2013-02-10 16:29:47 -06:00
vfs_inode_dotl.c fs/9p: Don't use O_TRUNC flag in TOPEN and TLOPEN request 2013-02-10 16:29:47 -06:00
vfs_super.c
xattr.c
xattr.h
xattr_user.c