switch xattr_handler->set() to passing dentry and inode separately
[linux-2.6-block.git] / fs / ext4 / xattr_security.c
index 123a7d010efeb9f3db00c1c448a53321fa4f8855..a8921112030d31f00bd28e9cdd32d3f04c6f806c 100644 (file)
@@ -22,10 +22,11 @@ ext4_xattr_security_get(const struct xattr_handler *handler,
 
 static int
 ext4_xattr_security_set(const struct xattr_handler *handler,
-                       struct dentry *dentry, const char *name,
-                       const void *value, size_t size, int flags)
+                       struct dentry *unused, struct inode *inode,
+                       const char *name, const void *value,
+                       size_t size, int flags)
 {
-       return ext4_xattr_set(d_inode(dentry), EXT4_XATTR_INDEX_SECURITY,
+       return ext4_xattr_set(inode, EXT4_XATTR_INDEX_SECURITY,
                              name, value, size, flags);
 }