Fix crash with file locking and dup'ed files
authorJens Axboe <axboe@fb.com>
Fri, 7 Feb 2014 17:56:15 +0000 (10:56 -0700)
committerJens Axboe <axboe@fb.com>
Fri, 7 Feb 2014 17:56:15 +0000 (10:56 -0700)
commit67ad92428bb19008354ca20e614050241e9f17e7
tree9d1ab85ffa15efa8b76c6af9a46238e1a4d71593
parentf940128526dbe468a1951cce10c2fe5dbd23875f
Fix crash with file locking and dup'ed files

Ensure that we properly inherit the file locks when
duplicating files.

Signed-off-by: Jens Axboe <axboe@fb.com>
filesetup.c