[CIFS] remove bkl usage from umount begin
authorSteve French <sfrench@us.ibm.com>
Fri, 26 Jun 2009 03:25:49 +0000 (03:25 +0000)
committerSteve French <sfrench@us.ibm.com>
Fri, 26 Jun 2009 03:25:49 +0000 (03:25 +0000)
commitad8034f19792736db5c259103c2eaaf72887bbb4
treead631c38d2d66c6d3ca57cdae471560461cec119
parent0f3bc09ee1b7fcadd5bfdc5ed2e1643f658fe23d
[CIFS] remove bkl usage from umount begin

The lock_kernel call moved into the fs for umount_begin
is not needed.  This adds a check to make sure we don't
call umount_begin twice on the same fs.

umount_begin for cifs is probably not needed and
may eventually be able to be removed, but in
the meantime this smaller patch is safe and
gets rid of the bkl from this path which provides
some benefit.

Acked-by: Jeff Layton <redhat.com>
Signed-off-by: Steve French <sfrench@us.ibm.com>
fs/cifs/cifsfs.c