diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2018-04-18 00:14:40 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2018-04-20 00:01:02 -0400 |
commit | 3087147ba3376c5d7ea255bf5cf24c974a41f477 (patch) | |
tree | 67c331bd469dbad7a0d84a6eb46d087b77d37b9f /fs/fat | |
parent | 69c45d57bab00d5777e7686b3965b68b8ab043c7 (diff) |
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>
Diffstat (limited to 'fs/fat')
-rw-r--r-- | fs/fat/namei_msdos.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/fs/fat/namei_msdos.c b/fs/fat/namei_msdos.c index 582ca731a6c9..484ce674e0cd 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; |