summaryrefslogtreecommitdiff
path: root/fs/f2fs/xattr.h
diff options
context:
space:
mode:
authorJaegeuk Kim <jaegeuk.kim@samsung.com>2014-04-23 12:23:14 +0900
committerJaegeuk Kim <jaegeuk.kim@samsung.com>2014-05-07 10:21:56 +0900
commitc02745ef684f9a6f98f30388ed048ee460db5483 (patch)
tree47ee64820f98b6b6dd679565217b7258a4a31ec5 /fs/f2fs/xattr.h
parente112326805a50ee2016faf0971660122471f7c04 (diff)
downloadlinux-rpi-c02745ef684f9a6f98f30388ed048ee460db5483.tar.gz
linux-rpi-c02745ef684f9a6f98f30388ed048ee460db5483.tar.bz2
linux-rpi-c02745ef684f9a6f98f30388ed048ee460db5483.zip
f2fs: pass flags field to setxattr functions
This patch passes the "flags" field to the low level setxattr functions to use XATTR_REPLACE in the following patches. Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
Diffstat (limited to 'fs/f2fs/xattr.h')
-rw-r--r--fs/f2fs/xattr.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/f2fs/xattr.h b/fs/f2fs/xattr.h
index 79bc2bb32aeb..34ab7dbcf5e3 100644
--- a/fs/f2fs/xattr.h
+++ b/fs/f2fs/xattr.h
@@ -114,14 +114,14 @@ extern const struct xattr_handler f2fs_xattr_security_handler;
extern const struct xattr_handler *f2fs_xattr_handlers[];
extern int f2fs_setxattr(struct inode *, int, const char *,
- const void *, size_t, struct page *);
+ const void *, size_t, struct page *, int);
extern int f2fs_getxattr(struct inode *, int, const char *, void *, size_t);
extern ssize_t f2fs_listxattr(struct dentry *, char *, size_t);
#else
#define f2fs_xattr_handlers NULL
static inline int f2fs_setxattr(struct inode *inode, int index,
- const char *name, const void *value, size_t size)
+ const char *name, const void *value, size_t size, int flags)
{
return -EOPNOTSUPP;
}