diff options
author | Jeff Layton <jlayton@redhat.com> | 2010-02-10 16:18:26 -0500 |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2010-02-23 20:47:32 +0000 |
commit | 31c0519f7af99ae60fd39f7f1c1f7ae1efb56760 (patch) | |
tree | d27678094c2b077756e148024d0d3fa5891afa93 /fs/cifs/inode.c | |
parent | 0cd126b504cede8a74acf7583a44eba32f9a1da1 (diff) | |
download | kernel_samsung_tuna-31c0519f7af99ae60fd39f7f1c1f7ae1efb56760.zip kernel_samsung_tuna-31c0519f7af99ae60fd39f7f1c1f7ae1efb56760.tar.gz kernel_samsung_tuna-31c0519f7af99ae60fd39f7f1c1f7ae1efb56760.tar.bz2 |
cifs: merge CIFSSMBQueryEA with CIFSSMBQAllEAs
Add an "ea_name" parameter to CIFSSMBQAllEAs. When it's set make it
behave like CIFSSMBQueryEA does now. The current callers of
CIFSSMBQueryEA are converted to use CIFSSMBQAllEAs, and the old
CIFSSMBQueryEA function is removed.
Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs/cifs/inode.c')
-rw-r--r-- | fs/cifs/inode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/cifs/inode.c b/fs/cifs/inode.c index e3fda97..5e9cc9c 100644 --- a/fs/cifs/inode.c +++ b/fs/cifs/inode.c @@ -366,7 +366,7 @@ static int cifs_sfu_mode(struct cifs_fattr *fattr, const unsigned char *path, char ea_value[4]; __u32 mode; - rc = CIFSSMBQueryEA(xid, cifs_sb->tcon, path, "SETFILEBITS", + rc = CIFSSMBQAllEAs(xid, cifs_sb->tcon, path, "SETFILEBITS", ea_value, 4 /* size of buf */, cifs_sb->local_nls, cifs_sb->mnt_cifs_flags & CIFS_MOUNT_MAP_SPECIAL_CHR); |