Btrfs: check file pointer in btrfs_sync_file
fsync can be called by NFS with a null file pointer, and btrfs was
oopsing in this case.
Signed-off-by:
Chris Mason <chris.mason@oracle.com>
Loading
Please register or sign in to comment
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
fsync can be called by NFS with a null file pointer, and btrfs was
oopsing in this case.
Signed-off-by:
Chris Mason <chris.mason@oracle.com>