btrfs: rename fs_info argument to fs_private
authorAnand Jain <anand.jain@oracle.com>
Fri, 1 Mar 2019 04:34:49 +0000 (12:34 +0800)
committerDavid Sterba <dsterba@suse.com>
Mon, 29 Apr 2019 17:02:19 +0000 (19:02 +0200)
fs_info is commonly used to represent struct fs_info *, rename
to fs_private to avoid confusion.

Signed-off-by: Anand Jain <anand.jain@oracle.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/xattr.c

index 499bb79ba135132a0d004ad20171109ff43b5351..6971cbf286b57919d270b5b730eaed66f26fa3ab 100644 (file)
@@ -419,10 +419,10 @@ const struct xattr_handler *btrfs_xattr_handlers[] = {
 };
 
 static int btrfs_initxattrs(struct inode *inode,
-                           const struct xattr *xattr_array, void *fs_info)
+                           const struct xattr *xattr_array, void *fs_private)
 {
+       struct btrfs_trans_handle *trans = fs_private;
        const struct xattr *xattr;
-       struct btrfs_trans_handle *trans = fs_info;
        unsigned int nofs_flag;
        char *name;
        int err = 0;