aboutsummaryrefslogtreecommitdiffstats
path: root/fs/jbd2/commit.c
diff options
context:
space:
mode:
authorJeff Layton <[email protected]>2014-02-03 17:13:08 +0000
committerJeff Layton <[email protected]>2014-03-31 12:24:42 +0000
commitbce7560d4946dcfc07b0217b1d3862ed60ff7188 (patch)
tree548ef2a83300ee6c4fede7a20be30aee13b9ca5f /fs/jbd2/commit.c
parentlocks: fix posix lock range overflow handling (diff)
downloadkernel-bce7560d4946dcfc07b0217b1d3862ed60ff7188.tar.gz
kernel-bce7560d4946dcfc07b0217b1d3862ed60ff7188.zip
locks: consolidate checks for compatible filp->f_mode values in setlk handlers
Move this check into flock64_to_posix_lock instead of duplicating it in two places. This also fixes a minor wart in the code where we continue referring to the struct flock after converting it to struct file_lock. Acked-by: J. Bruce Fields <[email protected]> Signed-off-by: Jeff Layton <[email protected]>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions