diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2015-04-26 18:48:49 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-04-26 20:22:07 -0400 |
commit | 9ec3a646fe09970f801ab15e0f1694060b9f19af (patch) | |
tree | 697058ca7e1671eda180a3ccc62445686fbc1a31 /fs/gfs2/xattr.c | |
parent | c8b3fd0ce313443731e8fd6d5a541085eb465f99 (diff) | |
parent | 3cab989afd8d8d1bc3d99fef0e7ed87c31e7b647 (diff) |
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
Pull fourth vfs update from Al Viro:
"d_inode() annotations from David Howells (sat in for-next since before
the beginning of merge window) + four assorted fixes"
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs:
RCU pathwalk breakage when running into a symlink overmounting something
fix I_DIO_WAKEUP definition
direct-io: only inc/dec inode->i_dio_count for file systems
fs/9p: fix readdir()
VFS: assorted d_backing_inode() annotations
VFS: fs/inode.c helpers: d_inode() annotations
VFS: fs/cachefiles: d_backing_inode() annotations
VFS: fs library helpers: d_inode() annotations
VFS: assorted weird filesystems: d_inode() annotations
VFS: normal filesystems (and lustre): d_inode() annotations
VFS: security/: d_inode() annotations
VFS: security/: d_backing_inode() annotations
VFS: net/: d_inode() annotations
VFS: net/unix: d_backing_inode() annotations
VFS: kernel/: d_inode() annotations
VFS: audit: d_backing_inode() annotations
VFS: Fix up some ->d_inode accesses in the chelsio driver
VFS: Cachefiles should perform fs modifications on the top layer only
VFS: AF_UNIX sockets should call mknod on the top layer only
Diffstat (limited to 'fs/gfs2/xattr.c')
-rw-r--r-- | fs/gfs2/xattr.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/gfs2/xattr.c b/fs/gfs2/xattr.c index fd260ce8869a..4c096fa9e2a1 100644 --- a/fs/gfs2/xattr.c +++ b/fs/gfs2/xattr.c | |||
@@ -420,7 +420,7 @@ static int ea_list_i(struct gfs2_inode *ip, struct buffer_head *bh, | |||
420 | 420 | ||
421 | ssize_t gfs2_listxattr(struct dentry *dentry, char *buffer, size_t size) | 421 | ssize_t gfs2_listxattr(struct dentry *dentry, char *buffer, size_t size) |
422 | { | 422 | { |
423 | struct gfs2_inode *ip = GFS2_I(dentry->d_inode); | 423 | struct gfs2_inode *ip = GFS2_I(d_inode(dentry)); |
424 | struct gfs2_ea_request er; | 424 | struct gfs2_ea_request er; |
425 | struct gfs2_holder i_gh; | 425 | struct gfs2_holder i_gh; |
426 | int error; | 426 | int error; |
@@ -586,7 +586,7 @@ out: | |||
586 | static int gfs2_xattr_get(struct dentry *dentry, const char *name, | 586 | static int gfs2_xattr_get(struct dentry *dentry, const char *name, |
587 | void *buffer, size_t size, int type) | 587 | void *buffer, size_t size, int type) |
588 | { | 588 | { |
589 | struct gfs2_inode *ip = GFS2_I(dentry->d_inode); | 589 | struct gfs2_inode *ip = GFS2_I(d_inode(dentry)); |
590 | struct gfs2_ea_location el; | 590 | struct gfs2_ea_location el; |
591 | int error; | 591 | int error; |
592 | 592 | ||
@@ -1230,7 +1230,7 @@ int __gfs2_xattr_set(struct inode *inode, const char *name, | |||
1230 | static int gfs2_xattr_set(struct dentry *dentry, const char *name, | 1230 | static int gfs2_xattr_set(struct dentry *dentry, const char *name, |
1231 | const void *value, size_t size, int flags, int type) | 1231 | const void *value, size_t size, int flags, int type) |
1232 | { | 1232 | { |
1233 | return __gfs2_xattr_set(dentry->d_inode, name, value, | 1233 | return __gfs2_xattr_set(d_inode(dentry), name, value, |
1234 | size, flags, type); | 1234 | size, flags, type); |
1235 | } | 1235 | } |
1236 | 1236 | ||