Skip to content

Commit

Permalink
msdos_rmdir(): kill BS comment
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
Al Viro committed Apr 20, 2018
1 parent 69c45d5 commit 3087147
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions fs/fat/namei_msdos.c
Original file line number Diff line number Diff line change
Expand Up @@ -314,10 +314,6 @@ static int msdos_rmdir(struct inode *dir, struct dentry *dentry)
int err;

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);
if (err)
goto out;
Expand Down

0 comments on commit 3087147

Please sign in to comment.