From df4858a33c79b5e7f0afa6388fd462f163a003d9 Mon Sep 17 00:00:00 2001 From: Jeff Layton Date: Wed, 14 May 2008 10:21:33 -0700 Subject: [PATCH] --- yaml --- r: 97135 b: refs/heads/master c: e10f7b551d2a79b113d5ce66b5dc9f3657035445 h: refs/heads/master i: 97133: d8bfe6d215422a1eca4e1c83a94988ee4afa16d2 97131: 17239a74ebbe7c23d735ecb0dc55ca3929d61185 97127: 6b84a2a346bc719877420c8c53f277262742db1c 97119: 42f37d44a8b947cd0e382fb1105cc71d5e16ba85 v: v3 --- [refs] | 2 +- trunk/fs/cifs/file.c | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index ee0345730919..9aa819b53f77 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 77c57ec89682c73785d12d51a6d1f873b292fa42 +refs/heads/master: e10f7b551d2a79b113d5ce66b5dc9f3657035445 diff --git a/trunk/fs/cifs/file.c b/trunk/fs/cifs/file.c index 31a0a33b9d95..8636cec2642c 100644 --- a/trunk/fs/cifs/file.c +++ b/trunk/fs/cifs/file.c @@ -75,7 +75,11 @@ static inline int cifs_convert_flags(unsigned int flags) return (GENERIC_READ | GENERIC_WRITE); } - return 0x20197; + return (READ_CONTROL | FILE_WRITE_ATTRIBUTES | FILE_READ_ATTRIBUTES | + FILE_WRITE_EA | FILE_APPEND_DATA | FILE_WRITE_DATA | + FILE_READ_DATA); + + } static inline int cifs_get_disposition(unsigned int flags)