diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/fs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h index 0dcdd9458f4b..b3d404aaabed 100644 --- a/include/linux/fs.h +++ b/include/linux/fs.h | |||
@@ -1193,7 +1193,7 @@ enum { | |||
1193 | #define has_fs_excl() atomic_read(¤t->fs_excl) | 1193 | #define has_fs_excl() atomic_read(¤t->fs_excl) |
1194 | 1194 | ||
1195 | #define is_owner_or_cap(inode) \ | 1195 | #define is_owner_or_cap(inode) \ |
1196 | ((current->fsuid == (inode)->i_uid) || capable(CAP_FOWNER)) | 1196 | ((current_fsuid() == (inode)->i_uid) || capable(CAP_FOWNER)) |
1197 | 1197 | ||
1198 | /* not quite ready to be deprecated, but... */ | 1198 | /* not quite ready to be deprecated, but... */ |
1199 | extern void lock_super(struct super_block *); | 1199 | extern void lock_super(struct super_block *); |