From: Dan Carpenter Date: Sat, 29 May 2010 09:49:07 +0000 (+0000) Subject: Btrfs: The file argument for fsync() is never null X-Git-Tag: v2.6.35-rc3~3^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6f902af400b2499c80865c62a06fbbd15cf804fd;p=pandora-kernel.git 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 Signed-off-by: Chris Mason --- Reading git-diff-tree failed