From: Al Viro Date: Wed, 18 Apr 2018 04:14:40 +0000 (-0400) Subject: msdos_rmdir(): kill BS comment X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=3087147ba3376c5d7ea255bf5cf24c974a41f477;p=linux.git 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 --- diff --git a/fs/fat/namei_msdos.c b/fs/fat/namei_msdos.c index 582ca731a6c90..484ce674e0cdd 100644 --- a/fs/fat/namei_msdos.c +++ b/fs/fat/namei_msdos.c @@ -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;