mirror of
https://github.com/tbsdtv/linux_media.git
synced 2025-07-23 04:33:26 +02:00
vfs: spread struct mount - work with counters
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
@@ -274,7 +274,7 @@ out:
|
||||
*/
|
||||
static inline int do_refcount_check(struct mount *mnt, int count)
|
||||
{
|
||||
int mycount = mnt_get_count(&mnt->mnt) - mnt->mnt.mnt_ghosts;
|
||||
int mycount = mnt_get_count(mnt) - mnt->mnt.mnt_ghosts;
|
||||
return (mycount > count);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user