diff options
Diffstat (limited to 'libdiskfs/file-chflags.c')
-rw-r--r-- | libdiskfs/file-chflags.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libdiskfs/file-chflags.c b/libdiskfs/file-chflags.c index e1403f25..d70cc712 100644 --- a/libdiskfs/file-chflags.c +++ b/libdiskfs/file-chflags.c @@ -25,7 +25,7 @@ diskfs_S_file_chflags (struct protid *cred, { CHANGE_NODE_FIELD (cred, ({ - err = diskfs_isowner (np, cred); + err = fshelp_isowner (&np->dn_stat, cred->user); if (!err) err = diskfs_validate_flags_change (np, flags); if (!err) |