summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/ioctl.c
diff options
context:
space:
mode:
authorOmar Sandoval <osandov@fb.com>2022-03-14 18:12:33 -0700
committerDavid Sterba <dsterba@suse.com>2022-05-16 17:03:08 +0200
commit5f465bf1f15aec52bed8d3e17738b303ae8e1a3c (patch)
treeee8836c83ef9096a61be8359828b55ab40f95873 /fs/btrfs/ioctl.c
parenta1fd0c35ffe349a7bbca27dae362932895ee8c4d (diff)
downloadlinux-5f465bf1f15aec52bed8d3e17738b303ae8e1a3c.tar.bz2
btrfs: factor out common part of btrfs_{mknod,create,mkdir}()
btrfs_{mknod,create,mkdir}() are now identical other than the inode initialization and some inconsequential function call order differences. Factor out the common code to reduce code duplication. Reviewed-by: Sweet Tea Dorminy <sweettea-kernel@dorminy.me> Signed-off-by: Omar Sandoval <osandov@fb.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/ioctl.c')
0 files changed, 0 insertions, 0 deletions