mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-21 20:51:27 +00:00
scst: Export scst_path_put()
This patch makes the code that was added via r5479 build against kernel version 2.6.38 and before. git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5485 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -4749,6 +4749,9 @@ int scst_read_file_transactional(const char *name, const char *name1,
|
||||
int scst_write_file_transactional(const char *name, const char *name1,
|
||||
const char *signature, int signature_len, const uint8_t *buf, int size);
|
||||
|
||||
#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 39)
|
||||
void scst_path_put(struct nameidata *nd);
|
||||
#endif
|
||||
int scst_remove_file(const char *name);
|
||||
|
||||
#endif /* __SCST_H */
|
||||
|
||||
@@ -9771,6 +9771,7 @@ void scst_path_put(struct nameidata *nd)
|
||||
path_put(&nd->path);
|
||||
#endif
|
||||
}
|
||||
EXPORT_SYMBOL(scst_path_put);
|
||||
#endif
|
||||
|
||||
#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 29)
|
||||
|
||||
@@ -772,10 +772,6 @@ void scst_vfs_unlink_and_put(struct nameidata *nd);
|
||||
void scst_vfs_unlink_and_put(struct path *path);
|
||||
#endif
|
||||
|
||||
#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 39)
|
||||
void scst_path_put(struct nameidata *nd);
|
||||
#endif
|
||||
|
||||
#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 29)
|
||||
int scst_vfs_fsync(struct file *file, loff_t loff, loff_t len);
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user