ocfs2: use 'osb' instead of 'OCFS2_SB()'
[sfrench/cifs-2.6.git] / fs / ocfs2 / xattr.c
index c261c1dfd374bdaec9a9d08747e3bb1eda7ab800..3a24ce3deb01306d3027cdec670a7f852164f5fe 100644 (file)
@@ -3564,7 +3564,7 @@ int ocfs2_xattr_set(struct inode *inode,
                .not_found = -ENODATA,
        };
 
-       if (!ocfs2_supports_xattr(OCFS2_SB(inode->i_sb)))
+       if (!ocfs2_supports_xattr(osb))
                return -EOPNOTSUPP;
 
        /*