ocfs2: Silence unused warning.
authorJoel Becker <joel.becker@oracle.com>
Wed, 15 Sep 2010 23:56:54 +0000 (16:56 -0700)
committerJoel Becker <joel.becker@oracle.com>
Wed, 15 Sep 2010 23:56:54 +0000 (16:56 -0700)
commitc0e1a3e80dc030cd54f06416efbf9e439bf6ecb7
tree659e4af1bc80c9b14458cfcfae87a35fe196e8bf
parent5e98d492406818e6a94c0ba54c61f59d40cefa4a
ocfs2: Silence unused warning.

When CONFIG_OCFS2_DEBUG_MASKLOG is undefined, we don't use the dentry
variable in ocfs2_sync_file().  Let's just move all access to the dentry
inside the logging call.

Signed-off-by: Joel Becker <joel.becker@oracle.com>
fs/ocfs2/file.c