Skip to content

Commit 6b9489a

Browse files
Jebaitednekocyberknight777
authored andcommitted
fs: incfs: add flags to getxattr
1 parent 2e20687 commit 6b9489a

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

fs/incfs/vfs.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ static void evict_inode(struct inode *inode);
7474

7575
static int incfs_setattr(struct dentry *dentry, struct iattr *ia);
7676
static ssize_t incfs_getxattr(struct dentry *d, const char *name,
77-
void *value, size_t size);
77+
void *value, size_t size, int flags);
7878
static ssize_t incfs_setxattr(struct dentry *d, const char *name,
7979
const void *value, size_t size, int flags);
8080
static ssize_t incfs_listxattr(struct dentry *d, char *list, size_t size);
@@ -171,9 +171,9 @@ static const struct inode_operations incfs_file_inode_ops = {
171171

172172
static int incfs_handler_getxattr(const struct xattr_handler *xh,
173173
struct dentry *d, struct inode *inode,
174-
const char *name, void *buffer, size_t size)
174+
const char *name, void *buffer, size_t size, int flags)
175175
{
176-
return incfs_getxattr(d, name, buffer, size);
176+
return incfs_getxattr(d, name, buffer, size, flags);
177177
}
178178

179179
static int incfs_handler_setxattr(const struct xattr_handler *xh,
@@ -2086,7 +2086,7 @@ static int incfs_setattr(struct dentry *dentry, struct iattr *ia)
20862086
}
20872087

20882088
static ssize_t incfs_getxattr(struct dentry *d, const char *name,
2089-
void *value, size_t size)
2089+
void *value, size_t size, int flags)
20902090
{
20912091
struct dentry_info *di = get_incfs_dentry(d);
20922092
struct mount_info *mi = get_mount_info(d->d_sb);

0 commit comments

Comments
 (0)