inode.c (7f427d3a6029331304f91ef4d7cf646f054216d2) | inode.c (3767e255b390d72f9a33c08d9e86c5f21f25860f) |
---|---|
1/* 2 * 3 * Copyright (C) 2011 Novell Inc. 4 * 5 * This program is free software; you can redistribute it and/or modify it 6 * under the terms of the GNU General Public License version 2 as published by 7 * the Free Software Foundation. 8 */ --- 196 unchanged lines hidden (view full) --- 205} 206 207 208static bool ovl_is_private_xattr(const char *name) 209{ 210 return strncmp(name, OVL_XATTR_PRE_NAME, OVL_XATTR_PRE_LEN) == 0; 211} 212 | 1/* 2 * 3 * Copyright (C) 2011 Novell Inc. 4 * 5 * This program is free software; you can redistribute it and/or modify it 6 * under the terms of the GNU General Public License version 2 as published by 7 * the Free Software Foundation. 8 */ --- 196 unchanged lines hidden (view full) --- 205} 206 207 208static bool ovl_is_private_xattr(const char *name) 209{ 210 return strncmp(name, OVL_XATTR_PRE_NAME, OVL_XATTR_PRE_LEN) == 0; 211} 212 |
213int ovl_setxattr(struct dentry *dentry, const char *name, 214 const void *value, size_t size, int flags) | 213int ovl_setxattr(struct dentry *dentry, struct inode *inode, 214 const char *name, const void *value, 215 size_t size, int flags) |
215{ 216 int err; 217 struct dentry *upperdentry; 218 219 err = ovl_want_write(dentry); 220 if (err) 221 goto out; 222 --- 213 unchanged lines hidden --- | 216{ 217 int err; 218 struct dentry *upperdentry; 219 220 err = ovl_want_write(dentry); 221 if (err) 222 goto out; 223 --- 213 unchanged lines hidden --- |