commit | ec42f167348a1949ac309532aa34760cfc96c92f | [log] [tgz] |
---|---|---|
author | Misono Tomohiro <misono.tomohiro@jp.fujitsu.com> | Wed Apr 18 11:34:13 2018 +0900 |
committer | David Sterba <dsterba@suse.com> | Mon May 28 18:07:18 2018 +0200 |
tree | b744b543efae207f1f304247a891a6e6609c97c0 | |
parent | 3b079a919a2386f7e080222b25f1cffe9c91666b [diff] |
btrfs: Move may_destroy_subvol() from ioctl.c to inode.c This is a preparation work to refactor btrfs_ioctl_snap_destroy() and to allow rmdir(2) to delete an empty subvolume. Signed-off-by: Tomohiro Misono <misono.tomohiro@jp.fujitsu.com> Reviewed-by: David Sterba <dsterba@suse.com> [ minor update of the function comment ] Signed-off-by: David Sterba <dsterba@suse.com>