]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit35c1cf51790bdd31f20c58f8b518e0201e08ae4a
tree8aeb9ff9803aa2060676c1817ca11f0015d1da1c
parentfac552fbb5d8d09184ac73d04bbde8058f655e33
Btrfs: implement inode_operations callback tmpfile

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