mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-12 08:48:48 +00:00
msdos_rmdir(): kill BS comment
it hadn't been checking for "busy" since 2.3.99-something and removing that leaves us with "check if it's empty" followed by call of fat_dir_emtpy() Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
parent
69c45d57ba
commit
3087147ba3
@ -314,10 +314,6 @@ static int msdos_rmdir(struct inode *dir, struct dentry *dentry)
|
|||||||
int err;
|
int err;
|
||||||
|
|
||||||
mutex_lock(&MSDOS_SB(sb)->s_lock);
|
mutex_lock(&MSDOS_SB(sb)->s_lock);
|
||||||
/*
|
|
||||||
* Check whether the directory is not in use, then check
|
|
||||||
* whether it is empty.
|
|
||||||
*/
|
|
||||||
err = fat_dir_empty(inode);
|
err = fat_dir_empty(inode);
|
||||||
if (err)
|
if (err)
|
||||||
goto out;
|
goto out;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user