|
@@ -1597,6 +1597,11 @@ static inline void sb_start_intwrite(struct super_block *sb)
|
|
|
__sb_start_write(sb, SB_FREEZE_FS, true);
|
|
|
}
|
|
|
|
|
|
+static inline int sb_start_intwrite_trylock(struct super_block *sb)
|
|
|
+{
|
|
|
+ return __sb_start_write(sb, SB_FREEZE_FS, false);
|
|
|
+}
|
|
|
+
|
|
|
|
|
|
extern bool inode_owner_or_capable(const struct inode *inode);
|
|
|
|