diff options
author | Jeff Garzik <jeff@garzik.org> | 2006-09-04 06:42:01 -0400 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2006-09-04 06:42:01 -0400 |
commit | fc851fad00d7fa1bf4ac7034d9ba8041bf482d50 (patch) | |
tree | 779a8b572d1701ef2c46755df751d9275650cdf4 /fs/cifs/xattr.c | |
parent | 85cd7251b9112e3dabeac9fd3b175601ca607241 (diff) | |
parent | f9bcda7760e1373615c9f6d9ce24209b0ab97de1 (diff) | |
download | kernel_samsung_aries-fc851fad00d7fa1bf4ac7034d9ba8041bf482d50.zip kernel_samsung_aries-fc851fad00d7fa1bf4ac7034d9ba8041bf482d50.tar.gz kernel_samsung_aries-fc851fad00d7fa1bf4ac7034d9ba8041bf482d50.tar.bz2 |
Merge branch 'upstream' into pata-drivers
Diffstat (limited to 'fs/cifs/xattr.c')
-rw-r--r-- | fs/cifs/xattr.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/fs/cifs/xattr.c b/fs/cifs/xattr.c index 7754d64..067648b 100644 --- a/fs/cifs/xattr.c +++ b/fs/cifs/xattr.c @@ -330,11 +330,15 @@ ssize_t cifs_listxattr(struct dentry * direntry, char * data, size_t buf_size) sb = direntry->d_inode->i_sb; if(sb == NULL) return -EIO; - xid = GetXid(); cifs_sb = CIFS_SB(sb); pTcon = cifs_sb->tcon; + if(cifs_sb->mnt_cifs_flags & CIFS_MOUNT_NO_XATTR) + return -EOPNOTSUPP; + + xid = GetXid(); + full_path = build_path_from_dentry(direntry); if(full_path == NULL) { FreeXid(xid); |