Btrfs: implement inode_operations callback tmpfile
authorFilipe Manana <fdmanana@gmail.com>
Sun, 27 Apr 2014 19:40:45 +0000 (20:40 +0100)
committerChris Mason <clm@fb.com>
Tue, 10 Jun 2014 00:20:30 +0000 (17:20 -0700)
This implements the tmpfile callback of struct inode_operations, introduced
in the linux kernel 3.11, and implemented already by some filesystems. This
callback is invoked by the VFS when the flag O_TMPFILE is passed to the open
system call.

Signed-off-by: Filipe David Borba Manana <fdmanana@gmail.com>
Signed-off-by: Chris Mason <clm@fb.com>
Reviewed-by: David Sterba <dsterba@suse.cz>
fs/btrfs/inode.c

Simple merge