aboutsummaryrefslogtreecommitdiffstats
path: root/fs/proc/array.c
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2010-05-29 09:49:07 +0000
committerChris Mason <[email protected]>2010-06-11 19:57:40 +0000
commit6f902af400b2499c80865c62a06fbbd15cf804fd (patch)
tree9bd7ee1dd243b5513ebad74b2870950a6d427d3c /fs/proc/array.c
parentBtrfs: handle ERR_PTR from posix_acl_from_xattr() (diff)
downloadkernel-6f902af400b2499c80865c62a06fbbd15cf804fd.tar.gz
kernel-6f902af400b2499c80865c62a06fbbd15cf804fd.zip
Btrfs: The file argument for fsync() is never null
The "file" argument for fsync is never null so we can remove this check. What drew my attention here is that 7ea8085910e: "drop unused dentry argument to ->fsync" introduced an unconditional dereference at the start of the function and that generated a smatch warning. Signed-off-by: Dan Carpenter <[email protected]> Signed-off-by: Chris Mason <[email protected]>
Diffstat (limited to 'fs/proc/array.c')
0 files changed, 0 insertions, 0 deletions