]> git.baikalelectronics.ru Git - kernel.git/commit
GFS2: clean up explicit check for mandatory locks
authorPavel Emelyanov <xemul@openvz.org>
Mon, 1 Oct 2007 21:41:13 +0000 (14:41 -0700)
committerJ. Bruce Fields <bfields@citi.umich.edu>
Tue, 9 Oct 2007 22:32:46 +0000 (18:32 -0400)
commit7dd9d63c4f2a1911ed07593776b72b9be2223c37
treed848662aa677f5fe47fa7c93c2ac9925b3e888ae
parent83b21522080f070b6ff911b4b220ebac5ff32a80
GFS2: clean up explicit check for mandatory locks

The __mandatory_lock(inode) function makes the same check, but makes the code
more readable.

Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Cc: Steven Whitehouse <swhiteho@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
fs/gfs2/ops_file.c