Commit 6774af67 authored by Steve French's avatar Steve French

remove compile warning

Signed-off-by: Steve French (sfrench@us.ibm.com)
parent a44280c6
...@@ -49,12 +49,12 @@ ssize_t cifs_getxattr(struct dentry * direntry, const char * name, ...@@ -49,12 +49,12 @@ ssize_t cifs_getxattr(struct dentry * direntry, const char * name,
ssize_t cifs_listxattr(struct dentry * direntry, char * ea_data, size_t ea_size) ssize_t cifs_listxattr(struct dentry * direntry, char * ea_data, size_t ea_size)
{ {
ssize_t rc = -EOPNOTSUPP; ssize_t rc = -EOPNOTSUPP;
#ifdef CONFIG_CIFS_XATTR
int xid; int xid;
struct cifs_sb_info *cifs_sb; struct cifs_sb_info *cifs_sb;
struct cifsTconInfo *pTcon; struct cifsTconInfo *pTcon;
struct super_block * sb; struct super_block * sb;
char * full_path; char * full_path;
#ifdef CONFIG_CIFS_XATTR
if(direntry == NULL) if(direntry == NULL)
return -EIO; return -EIO;
if(direntry->d_inode) if(direntry->d_inode)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment