]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit3057bc127fa232ae0989dcc7c1a6dc8075a3c08f
treead631c38d2d66c6d3ca57cdae471560461cec119
parent0087391fab3773e80aec5afa3d5e637e75c76088
[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